
package com.ymkyve.complex.login;


import com.opensymphony.xwork.Action;
import com.ymkyve.complex.api.ILoginService;


/**
 * TODO Comment of LoginAction
 * @author wb_liang.gao
 *
 */
public class LoginAction implements Action{  
    
//    private ILoginService loginService;
    
    private String name;
    private String password;
  
    public String execute() throws Exception {
//        if(loginService.doLogin(name, password)){
//            return SUCCESS;
//        }
       
        return SUCCESS;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

//    public ILoginService getLoginService() {
//        return loginService;
//    }
//
//    public void setLoginService(ILoginService loginService) {
//        this.loginService = loginService;
//    }
//    
   
}
